// {bem_b,bem_e,bem_m,VueAndNvueStyleAttr,when}
@use "./mixin/mixins.scss" as *;
@use './mixin/function.scss' as *;
@import "common/index.scss";



@include bem_b(tabbar-item) {
	@include flex(column);
	align-items: center;
	justify-content: center;
	flex: 1;
	@include bem_e(icon) {
		@include flex;
		position: relative;
		width: 150rpx;
		justify-content: center;
	}
	@include bem_e(text) {
		margin-top: 2px;
		font-size: 12px;
		@include VueAndNvueStyleAttr("color","text-color", "regular")
	}
}


	/* #ifdef MP */
	// 由于小程序都使用shadow DOM形式实现，需要给影子宿主设置flex: 1才能让其撑开
	:host {
		flex: 1
	}

	/* #endif */
